package com.wzx.user.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wzx.user.common.BasePojo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author wzx
 * @version 1.0
 * @date 2023/4/12 - 14:32
 * @description 标题
 */
@Data
@TableName("t_user_visitor")
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "User", description = "游客登录")
public class UserVisitor extends BasePojo {
    @TableId(value = "userId", type = IdType.AUTO)
    @ApiModelProperty(notes = "主键id", required = true)
    private Long userId;

    @TableField("username")
    @ApiModelProperty(value = "用户名称")
    private String username;

    @TableField("nickname")
    @ApiModelProperty(value = "昵称")
    private String nickname;

    @TableField("phone")
    @ApiModelProperty(value = "用户手机号")
    private String phone;

    @TableField("head")
    @ApiModelProperty(value = "用户头像")
    private String head;


}
